package com.ghs.securityprojectboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;


/**
 * <p>
 * 
 * </p>
 *
 * @author shenguohui
 * @since 2024-09-03
 */
@Data
@TableName("db_account")
@ApiModel(value = "DbAccount对象", description = "")
@AllArgsConstructor
public class DbAccount implements Serializable, BaseData {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String email;
    private String role;
    private Date registerTime;
}
